package com.zhentao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zhentao.aliyun.IDUtils;
import com.zhentao.common.BCrypt;
import com.zhentao.common.LoginManageUserConstant;
import com.zhentao.user.dto.IdDto;
import com.zhentao.user.vo.IdCardVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
@RequestMapping("test")
public class TestController {
    @GetMapping
    public String test(){
        return "测试杨博然电脑";
    }


    public static void main(String[] args) throws IOException {
        IdDto identity = new IdDto();
        identity.setName("高雨露");
        identity.setIdNo("130432200403200081");
        IdCardVo idCardVo = IDUtils.postData(identity);
        System.out.println(idCardVo);
    }


}

